package com.engine4cloud.tdf.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.education.dto.EduCourseResourcePushDTO;
import com.engine4cloud.tdf.education.dto.create.EduCourseCreateDTO;
import com.engine4cloud.tdf.education.dto.query.EduCourseQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduCourseResultDTO;
import com.engine4cloud.tdf.education.dto.update.EduCourseUpdateDTO;
import com.engine4cloud.tdf.education.entity.EduCourseEntity;

public interface EduCourseService extends IService<EduCourseEntity> {

    PageInfo<EduCourseResultDTO> pageList(Params page, EduCourseQueryDTO dto);

    EduCourseResultDTO getById(Long id);

    String create(EduCourseCreateDTO dto);

    Boolean update(EduCourseUpdateDTO dto);

    Boolean pushAll(String code);

    Boolean push(EduCourseResourcePushDTO dto);
}